package com.jiada.shiro.test.service;

import java.util.List;

import com.jiada.shiro.test.model.Permission;
import com.jiada.shiro.test.model.User;
import com.jiada.shiro.test.model.UserExample;

public interface UserService {

	List<User> selectByExample(UserExample example);

	User selectByUserName(String loginName);

	List<Permission> getUserPermissions(User user);

	void saveBook(User user);

	void deleteBook(User user);

	User selectById(User user);

}
